package tgc.edu.ljc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import tgc.edu.ljc.entity.TbClass;
import tgc.edu.ljc.repository.ClassRepository;

@Service
public class ClassService {
	@Autowired
	private ClassRepository classDAO;
	
	
	public List<TbClass> findAll(){
		return classDAO.findAll();
	}
}
